LvdWcMc\Env A

Total Complexity 71
Dependencies 4
Dependents 13
Total lines 350
Lines of code 228
Logical lines of code 87
Comment lines 11
Methods 51
Properties 23

Methods 51

Method Rating Maintainability Complexity Lines of code
_initDbSettings()
S
57 4 17
isEditingWcOrder()
S
65 4 8
isViewingAdminPageSlug()
S
70 4 6
isViewingWooAdminDashboard()
S
68 3 7
getDb()
S
59 2 15
__construct()
S
68 2 7
getRemoteAddress()
S
78 2 3
getMetaDb()
S
64 2 10
getTheOrder()
S
73 2 5
getCurrentAdminPage()
S
73 2 5
_initDriverIfNeeded()
S
68 2 7
isViewingWpDashboard()
S
79 2 3
_initStorageAndDataDirs()
S
59 1 15
isPluginActive()
S
68 2 7
getPaymentAssetsStorageDir()
S
82 1 3
getDataDir()
S
82 1 3
getViewDir()
S
82 1 3
getEmailViewsDir()
S
82 1 3
getPlainEmailViewsDir()
S
82 1 3
getSetupDataDir()
S
82 1 3
getPublicAssetUrl()
S
79 1 3
getPlainEmailViewFilePath()
S
80 1 3
isHttpPost()
S
78 1 3
isHttpGet()
S
78 1 3
getPhpVersion()
S
82 1 3
getWpVersion()
S
82 1 3
getVersion()
S
82 1 3
isDebugMode()
S
82 1 3
getLang()
S
82 1 3
getRequiredPhpVersion()
S
82 1 3
getRootStorageDir()
S
82 1 3
getEmailViewFilePath()
S
80 1 3
isViewingAdminPluginSettingsPage()
S
80 1 3
getDbName()
S
82 1 3
isViewingAdminPluginDiagnosticsPage()
S
80 1 3
isViewingAdminTransactionListing()
S
80 1 3
isAtWcOrderPayEndpoint()
S
80 1 3
getDbHost()
S
82 1 3
getDbUserName()
S
82 1 3
getDbPassword()
S
82 1 3
getDbTablePrefix()
S
82 1 3
getDbCollate()
S
82 1 3
getViewFilePath()
S
80 1 3
getDbCharset()
S
82 1 3
isViewingFrontendWcOrder()
S
80 1 3
_initVersions()
S
72 1 5
getPaymentGatewayWooCommerceSettingsPageUrl()
S
79 1 3
getAjaxBaseUrl()
S
79 1 3
getPaymentTransactionsTableName()
S
82 1 3
getPostsTableName()
S
80 1 3
getRequiredWpVersion()
S
82 1 3